package org.springblade.modules.admin.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.admin.dto.ElevatorPrincipalSaveDTO;
import org.springblade.modules.admin.entity.ElevatorPrincipalDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ElevatorPrincipalDeptService extends BaseService<ElevatorPrincipalDept> {

    Boolean savePrincipalDept(ElevatorPrincipalSaveDTO saveDTO);

    List<ElevatorPrincipalDept> listAll();

    String getPrincipalDeptNames(Long elevatorId);

	String getPrincipalUseNames(Long elevatorId);

	List<ElevatorPrincipalDept> listInMaintainElevatorByDeptIds(List<Long> deptIds);

	List<ElevatorPrincipalDept> selectDeptGroupByElevatorIds(List<Long> elevatorIds);

	List<ElevatorPrincipalDept> listElevatorDeptByElevatorIds(List<Long> elevatorIds);
}
